package com.itzyf.pokemondata.bean;

import org.litepal.annotation.Column;
import org.litepal.crud.LitePalSupport;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author 依风听雨
 * @version 创建时间：2019/01/23 14:19
 */
public class DbFestivalEnvoyDo extends LitePalSupport {

    private String question;
    private Date updatedAt;
    private String answer;
    private String objectId;
    private Date createdAt;
    private long id;

    public DbFestivalEnvoyDo(String question, Date updatedAt, String answer, String objectId, Date createdAt) {
        this.question = question;
        this.updatedAt = updatedAt;
        this.answer = answer;
        this.objectId = objectId;
        this.createdAt = createdAt;
    }

    public DbFestivalEnvoyDo() {
    }

    public String getQuestion() {
        return question == null ? "" : question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public String getAnswer() {
        return answer == null ? "" : answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public String getObjectId() {
        return objectId == null ? "" : objectId;
    }

    public void setObjectId(String objectId) {
        this.objectId = objectId;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }
}
